/**
 * 基础路由
 * @type { *[] }
 */
/* taber路由文件 */
import Taber from './tabers'
/* 我的页面子级页面 */
import Self from './self'
/* 首页页面子级页面 */
import Page_son from './page_son'
/* 图书页面子级页面 */
import book_son from './book_son'
export const constantRouterMap = [
  {
    path: '/',
    component: () => import('v/layouts/index'),
    redirect: '/home',
    meta: {
      title: '首页',
      keepAlive: false
    },
    children: [
      /*   {
          path: '/home',
          name: 'Home',
          component: () => import('@/views/home/index'),
          meta: { title: '首页', keepAlive: false }
        },
        {
          path: '/about',
          name: 'About',
          component: () => import('@/views/home/about'),
          meta: { title: '关于我', keepAlive: false }
        }, */
      ...Taber
    ]
  },
  ...Self,
  ...Page_son,
  ...book_son,
  {
    path: '/editl',
    name: 'editl',
    component: () => import('v/news_son/editl'),
    meta: { title: '文章详情', keepAlive: false }
  },
  {
    path: '/shoping',
    name: 'shoping',
    component: () => import('v/shoping'),
    meta: { title: '购物', keepAlive: false }
  },
  {
    path: '/money',
    name: 'money',
    component: () => import('v/shoping/money'),
    meta: { title: '订单详情', keepAlive: false }
  },
  {
    path: '/test',
    name: 'test',
    component: () => import('v/test')
  }
]
